<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    let name = "阿亮"
    const SCHOOL = function() {
            console.log("真美");
        }
        // const SCHOOL={
        //     name:name,
        //     age:age
        // }
    const OUT = {
        name,
        SCHOOL
    }
    console.log(OUT);
    SCHOOL()

    let name = "阿漂"
    let arr = function() {
            console.log("好亮");
        }
        // const arr={
        //     name:name,
        //     arr:arr
        // }
    const OUT = {
        name,
        arr
    }
    console.log(OUT);
    arr()

    let name = "啊亮"
    let fn = function() {
            console.log("真美");
        }
        // const str={
        //     name:name,
        //     fn:fn
        // }
    const str = {
        name,
        fn
    }
    console.log(str);
    fn()
</script>

</html>